﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TestServiceCollection.Implement
{
    public class Operation : IOperationScoped, IOperationSingleton, IOperationTransient
    {
        private Guid _guid;

        public Operation()
        {
            _guid = Guid.NewGuid();
        }

        public Operation(Guid guid)
        {
            _guid = guid;
        }

        Guid IOperation.OperationId
        {
            get => _guid;
            set => value = _guid;
        }
    }
}
